<%--
  Created by IntelliJ IDEA.
  User: lub_lenovo
  Date: 2017/11/2
  Time: 9:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="/WEB-INF/admin/public/header.jsp"%>
<!-- 主要内容区域 -->
<div class="container-fluid">
    <div class="row">
        <%@include file="/WEB-INF/admin/public/menu.jsp"%>
        <!-- 数据表格 -->
        <div class="col-md-9 col-sm-9">
            <ol class="breadcrumb">
                <li><a href="#">首页</a></li>
                <li class="active">电影管理</li>
            </ol>
            <div class="panel panel-primary">
                <div class="panel-heading">添加电影</div>
                <div class="panel-body">
                    <form id="fmMovie" method="post" class="form-horizontal" action="${pageContext.request.contextPath}/movie/doAdd.do" enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">电影名称</label>
                            <div class="col-sm-5">
                                <input type="text" name="mname" class="form-control"  placeholder="请输入电影名称">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">电影又名</label>
                            <div class="col-sm-5">
                                <input type="text" name="alias" class="form-control" placeholder="请输入电影又名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">海报</label>
                            <div class="col-sm-5">
                                <div class="input-group">
                                    <input name="poster" type="text" class="form-control" placeholder="file path">
                                    <span class="input-group-btn">
                                    <button id="btnFile" class="btn btn-default" type="button">选择</button>
                                  </span>
                                </div><!-- /input-group -->

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">描述</label>
                            <div class="col-sm-10">
                                <textarea name="description" class="form-control" cols="30" rows="10"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">发布日期</label>
                            <div class="col-sm-5">
                                <input type="date" name="publishdate" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">导演</label>
                            <div class="col-sm-5">
                                <input type="text" name="director" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">演员</label>
                            <div class="col-sm-5">
                                <input type="text" name="actor" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">清晰度</label>
                            <div class="col-sm-5">
                                <select name="quality" id="" class="form-control">
                                    <option value="0">高清</option>
                                    <option value="1">超清</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">类型</label>
                            <div class="col-sm-5">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="gyne" value="动作" >动作
                                    </label>
                                    <label>
                                        <input type="checkbox" name="gyne" value="爱情" >爱情
                                    </label>
                                    <label>
                                        <input type="checkbox" name="gyne" value="惊悚" >惊悚
                                    </label>
                                    <label>
                                        <input type="checkbox" name="gyne" value="科幻" >科幻

                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">地区</label>
                            <div class="col-sm-5">
                                <input type="radio" name="area" value="美国" >美国
                                <input type="radio" name="area" value="中国" >中国
                                <input type="radio" name="area" value="日本" >日本
                                <input type="radio" name="area" value="欧洲" >欧洲
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">语言</label>
                            <div class="col-sm-5">
                                <input type="radio" name="language" value="英语" >英语
                                <input type="radio" name="language" value="汉语" >汉语
                                <input type="radio" name="language" value="中英" >中英
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">时长</label>
                            <div class="col-sm-5">
                                <input type="text" name="duration" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">评分</label>
                            <div class="col-sm-5">
                                <input type="text" name="rate" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标签</label>
                            <div class="col-sm-5">
                                <input type="text" name="tags" class="form-control">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" id="btnSubmit" class="btn btn-default">保存</button>&nbsp;&nbsp;<span id="spanInfo" class="text-success"></span>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="copyright text-center">&copy;&nbsp;<a href="http://www.ittaoli.com">桃李科技</a></div>
<%@include file="/WEB-INF/admin/public/footerjs.jsp"%>
<script src="${pageContext.request.contextPath}/admin/js/movie_add.js"></script>
<%@include file="/WEB-INF/admin/public/footer.jsp"%>




